package com.base.po.voip_coupon;

import java.util.Date;

public class CouponOrder {
    private String id;// 用户提交订单号

    private String orderno;// API订单号

    private String parentid;// 代理商id

    private String userid;// 用户id

    private String productid;// 产品编号

    private Integer cardtype;// 卡券生成码规则，0：二维码；1：条形码；2：条形码和二维码；3：卡券URL地址；4：只包含密码；5：卡号和密码

    private String linkurl;// 卡券URL地址，当card_type生成码规则为3返回此值

    private String uniquecode;// 卡券唯一码（卡密无此参数）

    private String cardno;// 卡号（卡券无此参数）

    private String cardpwd;// 卡密（卡券无此参数）

    private Date couponcreatetime;// 优惠券创建时间

    private Date ordercreatetime;// 订单创建时间

    private Integer orderstatus;// 365订单状态 0：出售成功；1：已完成；2：已退款；3：售后中

    private Integer status;// 订单状态 1：出售成功；2：退款中；3：已退款

    private Integer flag;// 标识

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno == null ? null : orderno.trim();
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getProductid() {
        return productid;
    }

    public void setProductid(String productid) {
        this.productid = productid == null ? null : productid.trim();
    }

    public Integer getCardtype() {
        return cardtype;
    }

    public void setCardtype(Integer cardtype) {
        this.cardtype = cardtype;
    }

    public String getLinkurl() {
        return linkurl;
    }

    public void setLinkurl(String linkurl) {
        this.linkurl = linkurl == null ? null : linkurl.trim();
    }

    public String getUniquecode() {
        return uniquecode;
    }

    public void setUniquecode(String uniquecode) {
        this.uniquecode = uniquecode == null ? null : uniquecode.trim();
    }

    public String getCardno() {
        return cardno;
    }

    public void setCardno(String cardno) {
        this.cardno = cardno == null ? null : cardno.trim();
    }

    public String getCardpwd() {
        return cardpwd;
    }

    public void setCardpwd(String cardpwd) {
        this.cardpwd = cardpwd == null ? null : cardpwd.trim();
    }

    public Date getCouponcreatetime() {
        return couponcreatetime;
    }

    public void setCouponcreatetime(Date couponcreatetime) {
        this.couponcreatetime = couponcreatetime;
    }

    public Date getOrdercreatetime() {
        return ordercreatetime;
    }

    public void setOrdercreatetime(Date ordercreatetime) {
        this.ordercreatetime = ordercreatetime;
    }

    public Integer getOrderstatus() {
        return orderstatus;
    }

    public void setOrderstatus(Integer orderstatus) {
        this.orderstatus = orderstatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }
}